package backend.Instruction;

import backend.Register.RISCVoperand;

import java.util.List;

public class RISCVsd extends RISCVinst {
    private List<RISCVoperand> operands;
    private String type;

    public RISCVsd(List<RISCVoperand> operands,String type) {
        this.type = type;
        this.operands = operands;
    }

    public RISCVsd(List<RISCVoperand> operands) {
        this.operands = operands;

    }
    public RISCVoperand getDest(){
        return operands.get(0);
    }
    public RISCVoperand getOperand(){
        return operands.get(1);
    }

    @Override
    public String toString() {
        return "fail";
    }
}
